$_SERVER['DOCUMENT_ROOT'] path not working
Posted
by aeonsleo
on Stack Overflow
See other posts from Stack Overflow
or by aeonsleo
Published on 2010-06-10T18:11:47Z
Indexed on
2010/06/10
18:12 UTC
Read the original article
Hit count: 143
path
I am using document root to provide absolute path which is not working. if i echo this path it turns out to be C:wamp/www/proman/header.php. I i give relative path it works fine what is the problem here?
$path = $_SERVER['DOCUMENT_ROOT']."proman/header.php";
© Stack Overflow or respective owner